package com.lry.util.common.entity;

/**
 * 单点登录异常（错误）实体
 */
public class SysError {

//    /**错误详细信息*/
//    private SysErrorDetail error =new SysErrorDetail();

    private String code ;

    private String message;

    /**
     *  0 ： 系统
     *  1 : 操作提示
     */
    private int type;

    public SysError() {
    }

    public SysError(String code, String message) {
        this.code = code;
        this.message = message;
    }
    public SysError(String code, String message, int type) {
        this.code = code;
        this.message = message;
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
